using Rdl;

namespace GTame.ReportParser
{

    public class DynamicColumnsRowsType
    {

        private GTame.ReportParser.GroupingType _Grouping;
        private GTame.ReportParser.ReportItemsTypeSingle _ReportItems;
        private GTame.ReportParser.SortingType _Sorting;
        private GTame.ReportParser.SubtotalType _Subtotal;
        private GTame.ReportParser.VisibilityType _Visibility;

        public GTame.ReportParser.GroupingType Grouping
        {
            get
            {
                if (_Grouping == null)
                    _Grouping = new GTame.ReportParser.GroupingType();
                return _Grouping;
            }
            set
            {
                _Grouping = value;
            }
        }

        public GTame.ReportParser.ReportItemsTypeSingle ReportItems
        {
            get
            {
                if (_ReportItems == null)
                    _ReportItems = new GTame.ReportParser.ReportItemsTypeSingle();
                return _ReportItems;
            }
            set
            {
                _ReportItems = value;
            }
        }

        public GTame.ReportParser.SortingType Sorting
        {
            get
            {
                if (_Sorting == null)
                    _Sorting = new GTame.ReportParser.SortingType();
                return _Sorting;
            }
            set
            {
                _Sorting = value;
            }
        }

        public GTame.ReportParser.SubtotalType Subtotal
        {
            get
            {
                if (_Subtotal == null)
                    _Subtotal = new GTame.ReportParser.SubtotalType();
                return _Subtotal;
            }
            set
            {
                _Subtotal = value;
            }
        }

        public GTame.ReportParser.VisibilityType Visibility
        {
            get
            {
                if (_Visibility == null)
                    _Visibility = new GTame.ReportParser.VisibilityType();
                return _Visibility;
            }
            set
            {
                _Visibility = value;
            }
        }

        public DynamicColumnsRowsType()
        {
        }

        public Rdl.DynamicColumnsRowsType Write()
        {
            // trial
            return null;
        }

    } // class DynamicColumnsRowsType

}

